package com.lxh.empwork.services.impl;

import com.lxh.empwork.dao.DeptMapper;
import com.lxh.empwork.entity.Dept;
import com.lxh.empwork.services.DeptServices;
import com.lxh.empwork.util.MybatisUtil;

import java.util.List;


public class DeptServicesImpl implements DeptServices {
    @Override
    public List<Dept> getAll() {
        DeptMapper mapper = MybatisUtil.getMapper(DeptMapper.class);
        List<Dept> dl= mapper.getAll();
        return dl;
    }
}
